package cn.wolfcode.luowowo.flight.domain;

import cn.wolfcode.luowowo.common.domain.BaseDomain;
import cn.wolfcode.luowowo.member.domain.UserInfo;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@Setter
@Getter
public class BuyTicket extends BaseDomain {
    private Long ticketId;
    private DoorTicket ticket;
    private String idNo;//身份证号
    private Long userinfoId;
    private UserInfo userInfo;
    private Integer peopleType;//人类型
    private String fullName;//名字
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createTime;//时间
    private int state;//支付状态
    private BigDecimal amountProuctHidden;//总价格
    private Integer sum;//总数
    private String phone;//电话
    private String msgCode;//验证码
}
